package com.miukoo.aikao.ucenter.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.miukoo.aikao.ucenter.dto.request.AchievementReqDto;
import com.miukoo.aikao.ucenter.dto.response.AchievementRespDto;
import com.miukoo.aikao.ucenter.pojos.Achievement;
import org.apache.ibatis.annotations.Param;

/**
　* @Author miukoo<miukoo@126.com>
　* @Date 2020/11/19 18:45
　* @Version 1.0
  */
public interface AchievementMapper extends BaseMapper<Achievement> {

    /**
     * 查询我的考试成绩
     * @param page
     * @param query
     * @return
     */
    IPage<AchievementRespDto> paging(Page page, @Param("query") AchievementReqDto query);

}
